{include file="../template/header.html" /}
<div class="my-3 my-md-5">
    <div class="container">
        <div class="row row-cards">
            <div class="col-lg-12">
                <div class="card">
                    <table class="table card-table table-vcenter">
                        <tr>
                            <th></th>
                            <th>标题</th>
                            <th>作者</th>
                            <th>发布时间</th>
                            <th>浏览量</th>
                            <th>操作</th>
                        </tr>
                        {volist name="arr" id="data" key="i"}
                            <tr>
                                <td>{$data.article_id}</td>
                                <td>{$data.title}</td>
                                <td>{$data.nikename}</td>
                                <td>{$data.time}</td>
                                <th>{$data.hit}</th>
                                <th>
                                	<a class="btn btn-sm btn-primary" href="/Article/Edit/id/{$data.article_id}">修改</a>
                                	<a class="btn btn-sm btn-danger" href="/Article/Del/id/{$data.article_id}">删除</a>
                                </th>
                            </tr>
                        {/volist}
                        
                        
                    </table>
                </div>
                <div class="col-lg8 mx-auto"></div>

            </div>
        </div>
    </div>
</div>
{include file="../template/footer.html" /}